<%
    String mainurl = request.getContextPath()+"/logins/login_m.jsp";
    //response.sendRedirect(mainurl);
%>
<script>
    var h = window.screen.height;
    var w = window.screen.width;
    var childWin = window.open("<%=mainurl%>","",'height='+h+',width='+w+', top=0,left=0,toolbar=no, menubar=no, scrollbars=yes,resizable=yes,location=no, status=no');

	childWin.child = window; 
	window.opener = childWin;
	window.close();
</script>    